import * as stepUtils from '../../src/utils'
import {expect} from 'chai'

describe('util test case', function () {
    it('empty, null, undefined string isEmpty should return true', () => {
        expect(stepUtils.isEmpty('')).to.be.ok
        expect(stepUtils.isEmpty(undefined)).to.be.ok
        expect(stepUtils.isEmpty(null)).to.be.ok
    })

    it('non empty string isEmpty should return false', () => {
        expect(stepUtils.isEmpty('A')).to.be.false
        expect(stepUtils.isEmpty('hello world')).to.be.false
    })
})
